﻿
using System;

namespace gisgeb.plugins.interfaces
{
    /// <summary>
    /// Things To Appear in the Menu.
    /// Make sure a constructor with no arguments exisits.
    /// </summary>
    public interface IMenuEntryPlugin
    {
        /// <summary>
        /// Hint to a Position 1 will be near the top, 99 near the bottom. Don't go below 99.
        /// </summary>
        int PositionHint { get; }
        
        /// <summary>
        /// Text to appear in the menu. Make it short.
        /// </summary>
        string MenuDisplayText { get; }

        /// <summary>
        /// Helptext to display in the statusbar. Can be somewhat longer. Don't write books.
        /// </summary>
        string HelpText { get; }

        /// <summary>
        /// Action to invoke when this MenuEntry is selected.
        /// Parameter is the Feolder on which to work..
        /// </summary>
        Action<string> Command { get; }
    }
}
